package QC.MessageBox.beans.wxmsg.eventmsg;

import QC.MessageBox.beans.wxmsg.BaseWXMsg;

/**
 * Created by Andaren on 2017/5/13.
 * Used for: 自定义菜单消息
 */
public class WXCustoMenuMsg extends BaseWXMsg {

    private String event;       // 事件类型，subscribe(订阅)、unsubscribe(取消订阅)

    private String eventKey;    // 事件KEY值（关注事件时：为空）

    private String menuId;      // 自定义菜单的菜单id

    public String getEvent() {
        return event;
    }

    public WXCustoMenuMsg setEvent(String event) {
        this.event = event;
        return this;
    }

    public String getEventKey() {
        return eventKey;
    }

    public WXCustoMenuMsg setEventKey(String eventKey) {
        this.eventKey = eventKey;
        return this;
    }

    public String getMenuId() {
        return menuId;
    }

    public WXCustoMenuMsg setMenuId(String menuId) {
        this.menuId = menuId;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WXCustoMenuMsg{");
        sb.append("event='").append(event).append('\'');
        sb.append(", eventKey='").append(eventKey).append('\'');
        sb.append(", menuId='").append(menuId).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
